home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000357_news@newsmaster….columbia.edu _Tue Aug 11 17:37:11 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  5KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA17477
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 11 Aug 1998 17:37:10 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA29634
  7.     for kermit.misc@watsun; Tue, 11 Aug 1998 17:37:08 -0400 (EDT)
  8. Path: news.columbia.edu!panix!howland.erols.net!sunqbc.risq.qc.ca!feed.nntp.acc.ca!novia!nntp3.cerf.net!mvb.saic.com!news.eskimo.com!pygmy
  9. From: pygmy@eskimo.com (Frank Sergeant)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: K95 telnet to dosemu under Linux
  12. Date: Tue, 11 Aug 1998 14:55:59 -0500
  13. Organization: Eskimo North (206) For-Ever
  14. Lines: 115
  15. Message-ID: <PHK01Yv1uIJW084yn@eskimo.com>
  16. Reply-To: frank.sergeant@pobox.com
  17. NNTP-Posting-Host: eskimo.com
  18. Originator: pygmy@eskimo.com
  19. Xref: news.columbia.edu comp.protocols.kermit.misc:9074
  20.  
  21. I am trying to use Kermit95 (version 1.1.17) on W95 to
  22. telnet to a Linux machine running the DOS emulator (dosemu
  23. version 0.66.7) to run a Clipper application.
  24.  
  25. I have made some progress with this but I still have a
  26. few problems.
  27.  
  28. DISPLAY:
  29.  
  30. I've tried various terminal emulations but the best seems
  31. to be K95's LINUX.  Dosemu has a configuration file where
  32. I can set the character set.  The choices seem to be 'ibm'
  33. or 'latin'.  When I set dosemu to 'ibm', the box drawing
  34. characters show correctly but all the text is unreadable.
  35. When I set dosemu to 'latin', the text is readable but the
  36. box drawing characters are substitutes.  I suppose it is
  37. dosemu that decides on the substitutes (?).  For example,
  38. what should be a double horizontal line comes over as an
  39. equal sign (0x3D) and what should be a vertical double
  40. line comes over as an "I" (0x49).
  41.  
  42. The best I've come up with so far is this:
  43.  
  44.   K95  LINUX,  25x80, no status line, latin1-iso
  45.  
  46.   Linux/dosemu   latin
  47.  
  48. this produces a readable display, but isn't pretty enough.
  49.  
  50. Any suggestions?  I had thought of trying to translate
  51. the substituted box characters to something else, but
  52. that probably wouldn't work since an "I" as a double
  53. vertical line should be converted, but an "I" as part
  54. of a text string should be left alone.
  55.  
  56. KEYSTROKES:
  57.  
  58. Most of the keys seem to work ok.  The exceptions are
  59. Ctrl-PgDn and Ctrl-PgUp and alt-C and other alt- keys.
  60.  
  61. I've managed to turn on Ctrl-PgDn and Ctrl-PgUp by
  62. putting the following in a CLIPPER.KSC file and then
  63. 'taking' it:
  64.  
  65.    set key \1314 \30     ; Ctrl-PageDown
  66.    set key \5410 \30     ; Gray-Ctrl-PageDown
  67.    set key \1313 \31     ; Ctrl-PageUp
  68.    set key \5409 \31     ; Gray-Ctrl-PageUp
  69.  
  70.  
  71. With that, the Ctrl-PgUp keys work perfectly but the
  72. Ctrl-PgDn keys requires pressing them twice (any idea
  73. why or how to fix that?).  (I discovered the numbers
  74. 30 and 31 by looking in the CLIPPER INKEY.CH include
  75. file.)
  76.  
  77. When I try a similar approach for alt-C
  78.     set key \2147 \302    ; Alt-C
  79.  
  80. it doesn't work right.  Alt-C gets set to \46 instead.
  81. (I note that 302 mod 256 is 46, so I assume that the
  82. codes are limited to a single byte.)  The reason I
  83. wanted to set it to \302 is that is the code used
  84. by the Clipper application for testing whether an
  85. alt-C key was pressed.  I suppose I'll run into the
  86. same problem with all the alt- keys.  Any ideas on
  87. how to work around this?
  88.  
  89. I tried turning on PCTERM by typing Ctrl-CapsLock while
  90. connected.  It didn't seem to do anything (and alt-X
  91. still returned me to command mode).  I also tried typing
  92.  
  93.   SET TERM PCTERM
  94.  
  95. in command mode, but got the error "?No keywords match -
  96. pcterm".  I wondered if I might have seen a mention that
  97. PCTERM wasn't working in K95 1.1.17, but couldn't find
  98. such a mention when I tried to find it again.  Even if
  99. I could turn PCTERM on, I'm not sure whether the Linux
  100. box and/or dosemu would be set to cope with it.
  101.  
  102. SUMMARY:
  103.  
  104. So very much is working well that I am hopeful some
  105. or all of the remaining problems can be solved or worked
  106. around.  The most important probably is the box drawing
  107. character problem  (better to look good than to work good,
  108. as Billy Crystal might say).  Users could live with having
  109. to type Ctrl-PgDn twice.  I might substitute alternate
  110. keystrokes for whatever functions are now invoked by alt-
  111. keys.
  112.  
  113. Suggestions gratefully accepted.  When/if I get it
  114. all working, I'll be glad to post the final dosemu.conf
  115. and CLIPPER.KSC files.
  116.  
  117. I also hope to install a later (non-stable?) version of
  118. dosemu in case that changes anything for the better.
  119.  
  120. I note that if I log into the Linux box from another Linux
  121. box and use Linux's telnet, the display does have both
  122. proper box drawing characters and readable text (in that
  123. case I set dosemu to 'ibm').  There, though, I haven't
  124. found a solution yet to turning on the Ctrl-PgDn and
  125. Ctrl-PgUp keys, however the alt- keys work ok.  Is that
  126. a clue that PCTERM would be useful from K95?  However,
  127. for the application I have in mind, it is very unlikely
  128. that running Linux on all the workstations will be
  129. acceptable, so I'm really hoping for a K95 solution.
  130.  
  131.  
  132.   -- Frank
  133.   frank.sergeant@pobox.com
  134.  
  135.